ridge.tune(y, x, M = 10, lambda = seq(0, 2, by = 0.1), mat = NULL,
ncores = 1, graph = FALSE)
alfaridge.tune
.
Brown P. J. (1994). Measurement, Regression and Calibration. Oxford Science Publications.
Tibshirani R.J., and Tibshirani R. (2009). A bias correction for the minimum error rate in cross-validation. The Annals of Applied Statistics 3(2): 822-829.
ridge.reg, alfaridge.tune
y <- iris[, 1]
x <- iris[, 2:4]
ridge.tune( y, x, M = 10, lambda = seq(0, 2, by = 0.1), graph = TRUE )
Run the code above in your browser using DataLab